package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTable;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import java.awt.SystemColor;
import java.awt.Color;
import javax.swing.UIManager;

public class Cliente extends JFrame {

	private JPanel contentPane;
	private JTextField textNome;
	private JTextField textCpf;
	private JTextField textCep;
	private JTextField textNumero;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Cliente frame = new Cliente();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Cliente() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBackground(Color.DARK_GRAY);
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnInserir = new JButton("Inserir");
		btnInserir.setBackground(Color.DARK_GRAY);
		btnInserir.setForeground(new Color(0, 0, 51));
		btnInserir.setBounds(34, 11, 89, 23);
		contentPane.add(btnInserir);
		
		JButton btnRemover = new JButton("Remover");
		btnRemover.setBounds(137, 11, 89, 23);
		contentPane.add(btnRemover);
		
		JButton btnAtualizar = new JButton("Atualizar");
		btnAtualizar.setBounds(236, 11, 89, 23);
		contentPane.add(btnAtualizar);
		
		JButton btnSair = new JButton("Sair");
		btnSair.setBounds(335, 11, 89, 23);
		contentPane.add(btnSair);
		
		JLabel lblNome = new JLabel("Nome");
		lblNome.setForeground(new Color(0, 0, 255));
		lblNome.setBackground(SystemColor.window);
		lblNome.setBounds(34, 103, 46, 14);
		contentPane.add(lblNome);
		
		textNome = new JTextField();
		textNome.setBounds(90, 100, 136, 20);
		contentPane.add(textNome);
		textNome.setColumns(10);
		
		JLabel lblCpf = new JLabel("CPF");
		lblCpf.setForeground(new Color(0, 0, 255));
		lblCpf.setBackground(SystemColor.window);
		lblCpf.setBounds(34, 69, 46, 14);
		contentPane.add(lblCpf);
		
		textCpf = new JTextField();
		textCpf.setBounds(90, 69, 136, 20);
		contentPane.add(textCpf);
		textCpf.setColumns(10);
		
		JLabel lblCep = new JLabel("CEP");
		lblCep.setForeground(new Color(0, 0, 255));
		lblCep.setBackground(SystemColor.window);
		lblCep.setBounds(34, 134, 46, 14);
		contentPane.add(lblCep);
		
		textCep = new JTextField();
		textCep.setBounds(90, 131, 136, 20);
		contentPane.add(textCep);
		textCep.setColumns(10);
		
		textNumero = new JTextField();
		textNumero.setColumns(10);
		textNumero.setBounds(90, 162, 136, 20);
		contentPane.add(textNumero);
		
		JLabel lblNumero = new JLabel("Numero");
		lblNumero.setForeground(new Color(0, 0, 255));
		lblNumero.setBackground(SystemColor.window);
		lblNumero.setBounds(34, 165, 46, 14);
		contentPane.add(lblNumero);
		//teste
	}

}
